import request from '@/utils/request'

// 查询浆料配置列表
export function listAwarejl(query) {
  return request({
    url: '/system/awarejl/list',
    method: 'get',
    params: query
  })
}

// 查询浆料配置详细
export function getAwarejl(id) {
  return request({
    url: '/system/awarejl/' + id,
    method: 'get'
  })
}

// 新增浆料配置
export function addAwarejl(data) {
  return request({
    url: '/system/awarejl',
    method: 'post',
    data: data
  })
}

// 修改浆料配置
export function updateAwarejl(data) {
  return request({
    url: '/system/awarejl',
    method: 'put',
    data: data
  })
}

// 删除浆料配置
export function delAwarejl(id) {
  return request({
    url: '/system/awarejl/' + id,
    method: 'delete'
  })
}
